
function getQueryString(name) {

    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i");

    var r = window.location.search.substr(1).match(reg);

    if (r!=null){
        return decodeURI(r[2]);
    }else{
        return null;
    }
}
//toEmail
function EmailID(){
    var email= getQueryString("email");
    $('.toEmail-main-emailId').html(email);
}
